/**
 * Created by liubin on 2014/06/11.
 */
Ext.define('Order.view.NavView', {
    extend: 'Ext.navigation.View',
    xtype: 'navview',
    config: {
        autoDestroy: false,
        defaultBackButtonText: '返回',
        navigationBar: {
            items: [
                // order form 用的 提交按钮
                {
                    xtype: 'button',
                    action: 'submit',
                    text: '放入购物车',
                    ui: 'confirm',
                    align: 'right',
                    hidden: true,
                    hideAnimation: {
                        type: 'fadeOut',
                        duration: 200
                    },
                    showAnimation: {
                        type: 'fadeIn',
                        duration: 200
                    }
                }
            ]
        },
        items: [
            {
                xtype: 'storelist'
            }
        ]
    }
});